<!DOCTYPE html>
<html lang="zh">
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
	<title>系统管理员后台 - 家校互动系统</title>
	<link rel="shortcut icon" href="favicon.ico" />
	<link href="__TMPL__css/alice.css" rel="stylesheet" type="text/css" />
	<link href="__TMPL__css/style.css" rel="stylesheet" type="text/css" />
	<script src="__TMPL__js/jquery.min.js"></script>
	<script src="__TMPL__js/head.js"></script>
	<!--[if lt IE 9]>
	<script src="__TMPL__js/html5.js"></script>
	<![endif]-->
    
    
<script type="text/javascript">
	
$(function(){
	
	$('#school_id').change(function(){
	var sid = $("#school_id ").val();
	$.ajax({
		type: "POST",
		url: "__URL__/getsubject",
		data: {
				"school_id":sid,
			  },
		success: function(msg){
			$('#showinfo').html(msg);	
		}
		});		
		});
	})
    
</script>
    
    
    
    
    
    
    
    
</head> 
<body onload="iframe_height()">
<div id="bodyheight"><!-- 设定iframe框架 --> 

	<a class="btn_back" href="__APP__/Index/nav" style="width:20%">添加用户</a> <!-- 当前位置 返回按钮 -->
	
	<!-- 内容框架开始 -->
	<div class="main padd6">
		<div class="tab_main clear">
			<a href="__URL__/lists" class="cur">用户管理</a>
			<a href="__URL__/import">导入用户</a>
		</div>
	
		<div class="realmain padd22 clear">

			<!-- 列表内容开始 -->
			<div class="content">
				<form name="content_form" id="content_form" action="__URL__/doadd" method="post" class="tableform" enctype="multipart/form-data">
					<fieldset>
						<legend>添加用户</legend>
						
						<table width="100%" class="content_table">
						<tr class="ui-form-item"><!-- ui-form-item-error 错误时增加 -->
							<td  class="ui-label"><span class="ui-form-required">*</span>所在学校：</td>
							<td >
                            {$schoolname}
							 <!-- ui-input-large 错误时增加 -->
							<!--<p class="ui-form-explain ui-tiptext ui-tiptext-error">
								<i class="ui-tiptext-icon iconfont" title="出错">&#xF045;</i>
								**字段错误时使用
							</p> --> 
							</td>
						</tr>
						<tr class="ui-form-item ui-form-item-success"><!-- ui-form-item-success 错误时增加 -->
							<td  class="ui-label"><span class="ui-form-required">*</span>姓名：</td>
							<td>
							<input class="ui-input" type="text" name="XM">
<!--							 <!--<p class="ui-form-explain ui-tiptext ui-tiptext-success">
								<i class="ui-tiptext-icon iconfont" title="成功">&#xF049;</i>
								正确时使用
							</p>-->
							</td>				
						</tr>
						<tr class="ui-form-item">
							<td  class="ui-label"><span class="ui-form-required">*</span>性别：</td>
							<td>
                            	<input style="margin-left:20px;"type="radio" name="XBM" value="男">男&nbsp;&nbsp;
                            	<input type="radio" name="XBM" value="女">女&nbsp;&nbsp;
                           </td>				
						</tr>
<!--						<tr class="ui-form-item">
							<td  class="ui-label">照片：</td>
							<td>
							<img src="__TMPL__img/avatar.gif" style="height:60px;display:block;margin:10px;" />
							<input type="file" name="pic" class="ui-fileinput">
							</td>				
						</tr>-->
                        </table>


                        <!--<table id="showinfo"  width="100%" class="content_table"></table>-->
                        
                        <table width="100%" class="content_table">
<!--						<tr class="ui-form-item">
							<td  class="ui-label">教工编号：</td>
							<td><input class="ui-input" type="text" name='teacher_no'></td>				
						</tr>
						<tr class="ui-form-item">
							<td  class="ui-label">联系电话：</td>
							<td><input class="ui-input" type="text" name='LXDH'></td>				
						</tr>-->
						<tr class="ui-form-item">
							<td  class="ui-label"><span class="ui-form-required">*</span>手机：</td>
							<td><input class="ui-input" type="text" name="SJHM"></td>				
						</tr>
<!--						<tr class="ui-form-item">
							<td  class="ui-label">住址：</td>
							<td><input class="ui-input" type="text" name="LXDZ"></td>				
						</tr>
						<tr class="ui-form-item">
							<td  class="ui-label">简介：</td>
							<td><textarea class="ui-textarea" name="intro"></textarea></td>				
						</tr>
						<tr class="ui-form-item">
							<td  class="ui-label">是否在职：</td>
							<td>
                            	<input style="margin-left:20px;"type="radio" name="iswork" value="1" checked>是&nbsp;&nbsp;
                            	<input type="radio" name="iswork" value="0">否&nbsp;&nbsp;
                            </td>				
						</tr>-->
						<tr class="ui-form-item">
							<td  class="ui-label"><span class="ui-form-required">*</span>登录帐号：</td>
							<td><input class="ui-input" type="text" name="username"></td>				
						</tr>
						<tr class="ui-form-item">
							<td  class="ui-label"><span class="ui-form-required">*</span>密码：</td>
							<td><input class="ui-input" type="password" name="password"></td>				
						</tr>
<!--						<tr class="ui-form-item">
							<td  class="ui-label">邮箱：</td>
							<td><input class="ui-input" type="text" name="DZXX"></td>				
						</tr>
						<tr class="ui-form-item">
							<td  class="ui-label">QQ号码：</td>
							<td><input class="ui-input" type="text" name="QQ"></td>				
						</tr>-->
						<tr class="ui-form-item">
							<td  class="ui-label">审核状态：</td>
							<td>
								<label for="" class="checklabel"><input type="radio" class="ui-checkbox" name="status" value="1" >是</label>
								<label for="" class="checklabel"><input type="radio" class="ui-checkbox" name="status" value="0" checked>否</label>
							</td>				
						</tr>
                        <tr class="ui-form-item">
							<td  class="ui-label">使用状态：</td>
							<td>
								<label for="" class="checklabel"><input type="radio" class="ui-checkbox" name="shenhe" value="1" >是</label>
								<label for="" class="checklabel"><input type="radio" class="ui-checkbox" name="shenhe" value="0" checked >否</label>
							</td>				
						</tr>
						</table>

						<div class="submitdiv">
							<input type="submit" class="ui-button ui-button-mgreen" value="提交">
							<input type="button" class="ui-button ui-button-mwhite" value="取消"  onClick="javascript:history.go(-1);">
						</div>
					</fieldset>
				</form>
		
				</form>
			</div>
			<!-- 列表内容结束 -->
			
		</div>
	</div>
	<!-- 内容框架结束 -->
</div>



<iframe width='0' id='top_src' height='0' src=''></iframe>
<script src="__TMPL__js/foot.js"></script>
</body>
</html>